package com.bgs.mapper;

import com.bgs.pojo.FocusOn;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bgs.pojo.Store;
import com.bgs.pojo.vo.ThreeFriend;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 关注表 Mapper 接口
 * </p>
 *
 * @author Asia
 * @since 2021-09-14
 */
public interface FocusOnMapper extends BaseMapper<FocusOn> {

    List<Store> ThreeStoreBeforeUser(String beforeUserId);

    @Select("select store_name,store_img from store where before_user_id=#{beforeUserId}")
    Store ThreeUserStore(String beforeUserId);
}
